/**
 * Copyright (c) 2019 xstgongyi.org
 * All rights reserved.
 */
package org.xstgongyi.eduaid.dataobject;

import org.xstgongyi.eduaid.bo.*;

/**
 * 用于组装输出为Excel表格的助学跟踪数据，对应一名学生，在某一个学期的情况（基本信息、资助方式、募捐进展、学生反馈）
 * 
 * @author oldcrane<br/>
 * @created 2020-06-09
 */
public class StudentAidExportDTO {

	private Integer studentId;
	private String studentSn;
	private String studentName;
	private Gender studentGender;

	private Integer semesterId;
	private String semesterName;
	private String school;
	private Integer gradeId;
	//private String gradeName;
	private Integer aidAmount; // 指定学期的助学金额，单位：元
	private StudentAidStatus aidStatus;
	private StudentFeedbackStatus receiptStatus;
	private StudentFeedbackStatus summaryStatus;
	private SponsorFeedbackStatus receiptFeedbackStatus;
	private SponsorFeedbackStatus summaryFeedbackStatus;
	private String aidRemark;
	// 学生联系方式
	private String studentPhone;
	private String studentOtherContact;
	// 学生收款账号
	private String bankAccountName;
	private String bankAccountNumber;
	private String bankName;
	private String bankAccountRelation;

	// 资助人
	private Integer sponsorId;
	private String sponsorName;
	private StudentPairStatus pairStatus;

	// 资助人信息
	private Gender sponsorGender;
	private String sponsorPhone;
	private String sponsorWechat;
	private String sponsorEmail;
	private String sponsorRemark;

	// 志愿者
	private Integer volunteerId;
	private String volunteerName;

	public String getStudentGenderStr() {
		return null == studentGender ? "" : studentGender.getLabel();
	}

	public String getSponsorGenderStr() {
		return null == sponsorGender ? "" : sponsorGender.getLabel();
	}

	public String getAidStatusStr() {
		return null == aidStatus ? "" : aidStatus.getLabel();
	}

	public String getReceiptStatusStr() {
		return null == receiptStatus ? "" : receiptStatus.getLabel();
	}

	public String getSummaryStatusStr() {
		return null == summaryStatus ? "" : summaryStatus.getLabel();
	}

	public String getReceiptFeedbackStatusStr() {
		return null == receiptFeedbackStatus ? "" : receiptFeedbackStatus.getLabel();
	}

	public String getSummaryFeedbackStatusStr() {
		return null == summaryFeedbackStatus ? "" : summaryFeedbackStatus.getLabel();
	}

	// generated getter/setter

	public StudentFeedbackStatus getReceiptStatus() {
		return receiptStatus;
	}

	public void setReceiptStatus(StudentFeedbackStatus receiptStatus) {
		this.receiptStatus = receiptStatus;
	}

	public StudentFeedbackStatus getSummaryStatus() {
		return summaryStatus;
	}

	public void setSummaryStatus(StudentFeedbackStatus summaryStatus) {
		this.summaryStatus = summaryStatus;
	}

	public SponsorFeedbackStatus getReceiptFeedbackStatus() {
		return receiptFeedbackStatus;
	}

	public void setReceiptFeedbackStatus(SponsorFeedbackStatus receiptFeedbackStatus) {
		this.receiptFeedbackStatus = receiptFeedbackStatus;
	}

	public SponsorFeedbackStatus getSummaryFeedbackStatus() {
		return summaryFeedbackStatus;
	}

	public void setSummaryFeedbackStatus(SponsorFeedbackStatus summaryFeedbackStatus) {
		this.summaryFeedbackStatus = summaryFeedbackStatus;
	}

	public String getPairStatusStr() {
		return null == pairStatus ? "" : pairStatus.getLabel();
	}

	public Integer getStudentId() {
		return studentId;
	}

	public void setStudentId(Integer studentId) {
		this.studentId = studentId;
	}

	public String getStudentSn() {
		return studentSn;
	}

	public void setStudentSn(String studentSn) {
		this.studentSn = studentSn;
	}

	public String getStudentName() {
		return studentName;
	}

	public void setStudentName(String studentName) {
		this.studentName = studentName;
	}

	public Gender getStudentGender() {
		return studentGender;
	}

	public void setStudentGender(Gender studentGender) {
		this.studentGender = studentGender;
	}

	public Integer getSemesterId() {
		return semesterId;
	}

	public void setSemesterId(Integer semesterId) {
		this.semesterId = semesterId;
	}

	public String getSemesterName() {
		return semesterName;
	}

	public void setSemesterName(String semesterName) {
		this.semesterName = semesterName;
	}

	public String getSchool() {
		return school;
	}

	public void setSchool(String school) {
		this.school = school;
	}

	public Integer getGradeId() {
		return gradeId;
	}

	public void setGradeId(Integer gradeId) {
		this.gradeId = gradeId;
	}

	public Integer getAidAmount() {
		return aidAmount;
	}

	public void setAidAmount(Integer aidAmount) {
		this.aidAmount = aidAmount;
	}

	public StudentAidStatus getAidStatus() {
		return aidStatus;
	}

	public void setAidStatus(StudentAidStatus aidStatus) {
		this.aidStatus = aidStatus;
	}

	public String getAidRemark() {
		return aidRemark;
	}

	public void setAidRemark(String aidRemark) {
		this.aidRemark = aidRemark;
	}

	public String getStudentPhone() {
		return studentPhone;
	}

	public void setStudentPhone(String studentPhone) {
		this.studentPhone = studentPhone;
	}

	public String getStudentOtherContact() {
		return studentOtherContact;
	}

	public void setStudentOtherContact(String studentOtherContact) {
		this.studentOtherContact = studentOtherContact;
	}

	public String getBankAccountName() {
		return bankAccountName;
	}

	public void setBankAccountName(String bankAccountName) {
		this.bankAccountName = bankAccountName;
	}

	public String getBankAccountNumber() {
		return bankAccountNumber;
	}

	public void setBankAccountNumber(String bankAccountNumber) {
		this.bankAccountNumber = bankAccountNumber;
	}

	public String getBankName() {
		return bankName;
	}

	public void setBankName(String bankName) {
		this.bankName = bankName;
	}

	public String getBankAccountRelation() {
		return bankAccountRelation;
	}

	public void setBankAccountRelation(String bankAccountRelation) {
		this.bankAccountRelation = bankAccountRelation;
	}

	public Integer getSponsorId() {
		return sponsorId;
	}

	public void setSponsorId(Integer sponsorId) {
		this.sponsorId = sponsorId;
	}

	public String getSponsorName() {
		return sponsorName;
	}

	public void setSponsorName(String sponsorName) {
		this.sponsorName = sponsorName;
	}

	public StudentPairStatus getPairStatus() {
		return pairStatus;
	}

	public void setPairStatus(StudentPairStatus pairStatus) {
		this.pairStatus = pairStatus;
	}

	public Gender getSponsorGender() {
		return sponsorGender;
	}

	public void setSponsorGender(Gender sponsorGender) {
		this.sponsorGender = sponsorGender;
	}

	public String getSponsorPhone() {
		return sponsorPhone;
	}

	public void setSponsorPhone(String sponsorPhone) {
		this.sponsorPhone = sponsorPhone;
	}

	public String getSponsorWechat() {
		return sponsorWechat;
	}

	public void setSponsorWechat(String sponsorWechat) {
		this.sponsorWechat = sponsorWechat;
	}

	public String getSponsorEmail() {
		return sponsorEmail;
	}

	public void setSponsorEmail(String sponsorEmail) {
		this.sponsorEmail = sponsorEmail;
	}

	public String getSponsorRemark() {
		return sponsorRemark;
	}

	public void setSponsorRemark(String sponsorRemark) {
		this.sponsorRemark = sponsorRemark;
	}

	public Integer getVolunteerId() {
		return volunteerId;
	}

	public void setVolunteerId(Integer volunteerId) {
		this.volunteerId = volunteerId;
	}

	public String getVolunteerName() {
		return volunteerName;
	}

	public void setVolunteerName(String volunteerName) {
		this.volunteerName = volunteerName;
	}

	@Override
	public String toString() {
		return "StudentAidExportDTO [studentSn=" + studentSn + ", studentName=" + studentName + ", gradeId="
				+ gradeId + ", aidAmount=" + aidAmount + ", aidStatus=" + aidStatus + ", sponsorName=" + sponsorName
				+ ", studentPaireStatus=" + pairStatus + ", sponsorRemark=" + sponsorRemark + "]";
	}

}
